package com.vic.java8.list;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author Victor
 * date: 2020/12/24 15:15
 */
@Data
//@AllArgsConstructor
public class Employee {

    private String name;

    private String deptNo;

    Integer age;

    public Employee(String name, String deptNo) {
        this.name = name;
        this.deptNo = deptNo;
    }

    public Employee(String name, String deptNo, Integer age) {
        this.name = name;
        this.deptNo = deptNo;
        this.age = age;
    }


}
